.overlay {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  opacity: 0.7;
  background-color: var(--color-dark-900);
}

.content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  overflow: auto;

  width: 80%;
  max-width: 532px;
  max-height: 80%;

  background-color: var(--color-dark-700);
  border: 1px solid var(--color-dark-500);
  border-radius: 2px;
}

.content::-webkit-scrollbar {
  width: 12px;
}

.content::-webkit-scrollbar-thumb {
  background-color: var(--color-dark-900);
}

.content::-webkit-scrollbar-track {
  background-color: transparent;
}

.header {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 24px;

  &::before {
    content: '';

    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;

    border-bottom: 1px solid var(--color-dark-100);
  }

  & h2 {
    margin: 0;
  }
}

.closeIcon {
  cursor: pointer;

  top: 18px;
  right: 24px;

  display: flex;

  width: 24px;
  height: 24px;

  opacity: 0.5;

  transition: opacity ease-in-out 0.1s;

  &:hover {
    opacity: 1;
  }
}
